package com.tbit.uqbike.client.constant;

import cn.hutool.core.collection.ListUtil;

import java.util.List;

/**
 * @Author: chen
 * @Description: 支付状态常量
 * @Date: 创建于 15:56 2020/9/24
 */
public class RechargeConstant {
    /**
     * 未支付
     */
    public static final Integer recharge_notcheck = 0;
    /**
     * 已支付
     */
    public static final Integer recharge_success = 1;
    /**
     * 已确认
     */
    public static final Integer recharge_comfirm = 2;
    /**
     * 已取消
     */
    public static final Integer recharge_cancelOrder = 3;
    /**
     * 已完结待支付
     */
    public static final Integer recharge_need_pay = 4;

    /**************************************支付分授权******************************************/
    /**
     * 未授权
     */
    public static final Integer WXZFF_NOT_AUTH = 0;
    /**
     * 已授权
     */
    public static final Integer WXZFF_AUTH = 1;

    /***************************************充值类型****************************************************/

    /**
     * 充值
     */
    public static final int recharge_pay = 0;
    /**
     * 免押卡
     */
    public static final int recharge_Mem = 1;
    /**
     * 骑行卡
     */
    public static final int recharge_rideCard = 2;
    /**
     * 充值结束订单
     */
    public static final int recharge_returnBike = 3;
    /**
     * vip会员卡
     */
    public static final int recharge_vip = 4;
    /**
     * 优惠券套餐
     */
    public static final int recharge_meal = 5;
    /**
     * 微信支付分
     */
    public static final int recharge_zff = 6;
    /**
     * 欠款补交
     */
    public static final int recharge_QKBJ = 7;
    /**
     * 支付宝免押
     */
    public static final int recharge_exempt = 8;
    /**
     * 押金
     */
    public static final int recharge_deposit = -1;
    /***************************************订单来源**type**************************************************/
    /**
     * 微信app
     */
    public static final Integer RECHARGE_WEIXIN_APP = 1;
    /**
     * 微信小程序
     */
    public static final Integer RECHARGE_WEIXIN_XCX = 2;
    /**
     * 支付宝app
     */
    public static final Integer RECHARGE_ZFB_APP = 3;
    /**
     * 微信支付分
     */
    public static final Integer RECHARGE_WEIXIN_AFF = 4;
    /**
     * 支付宝小程序
     */
    public static final Integer RECHARGE_ZFB_XCX = 5;
    /**
     * 海外app支付
     */
    public static final Integer RECHARGE_PAY_PAL = 6;
    /**
     * 汇通天下聚合支付-微信小程序支付
     */
    public static final Integer RECHARGE_PAY_ADAPAY = 7;
    /**
     * 汇通天下聚合支付-支付宝小程序支付
     */
    public static final Integer RECHARGE_PAY_ADAPAY_ZFB = 8;
    /**
     * 中科支付-微信小程序
     */
    public static final Integer RECHARGE_WEIXIN_ZK_XCX = 9;
    /**
     * 中科支付-支付宝小程序
     */
    public static final Integer RECHARGE_WEIXIN_ZK_ZFB = 10;
    public static final List<Integer> WEIXIN_PAY_TYPE = ListUtil.of(RECHARGE_WEIXIN_APP, RECHARGE_WEIXIN_XCX, RECHARGE_WEIXIN_AFF, RECHARGE_WEIXIN_ZK_XCX);
    public static final List<Integer> ZFB_PAY_TYPE = ListUtil.of(RECHARGE_ZFB_APP, RECHARGE_ZFB_XCX, RECHARGE_WEIXIN_ZK_ZFB);

    /**************************************支付宝配置培新********************************************************/
    /**
     * 支付宝app
     */
    public static final Integer ZFB_PAY_APP = 0;
    /**
     * 支付宝小程序
     */
    public static final Integer ZFB_PAY_XCX = 1;

    /***************************************金额类型*********************************************/
    /**
     * 实际金额
     */
    public static final Integer MONEY_TYPE_REAL = 0;
    /**
     * 虚拟礼品卡
     */
    public static final Integer MONEY_TYPE_GIF = 1;

    /**
     * 充值
     */
    public static final Integer RECHARGE_TYPE_RECHARGE = 1;
    /**
     * 消费
     */
    public static final Integer RECHARGE_TYPE_CONSUMPTION = 0;


    /***************************************平台类型**********************************************/
    /**
     * 微信
     */
    public static final Integer PLATFORM_TYPE_WEIXIN = 0;
    /**
     * 支付宝
     */
    public static final Integer PLATFORM_TYPE_ZFB = 1;
    /**
     * 聚合支付
     */
    public static final Integer PLATFORM_TYPE_ADAPAY = 2;


    /**********************************推送mq类型****************************/
    /**
     * 支付
     */
    public static final Integer PAY_CREATE = 1;
    /**
     * 退款
     */
    public static final Integer PAY_REFUND = 2;
}
